package com.ql.design.adapter.demo2;

import com.ql.design.adapter.Source;
import com.ql.design.adapter.Targetable;


//适配就是由“源”到“目标”的适配，而当中链接两者的关系就是适配器。它负责把“源”过度到“目标”
public class Test {
	public static void main(String[] args) {
		Source source  = new Source();
		
		Targetable obj = new Wrapper(source);
		
		obj.operation();
		obj.operation2();
		
		
	}
}
